<template>
  <div class="spaceMenuWrapper">
    <nuxt-link v-for="(item, index) in menus" :to="item.url" :key="index">{{item.label}}</nuxt-link>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'nuxt-property-decorator'

@Component({})
export default class SocailMenu extends Vue {
  menus = [
    {
      label: 'Friends',
      url: '/space/friends',
    },
    {
      label: 'Community',
      url: '/space/community',
    },
    {
      label: 'Project',
      url: '/space/project',
    },
  ]
}
</script>

<style lang="scss" scoped>
.spaceMenuWrapper {
  width: 100%;
  position: fixed;
  top: 95px;
  text-align: center;
  height: 60px;
  line-height: 60px;
  background-color: #000000;
  border-bottom: 1px solid #171821;
  a {
    font-size: 18px;
    margin-right: 30px;
    &.active {
      color: #03e9f4;
    }
  }
}
</style>
